* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

#root {
  height: 100vh;
  width: 100vw;
}

.app-container {
  height: 100vh;
  display: flex;
  flex-direction: row;  /* 修改为row，让侧边栏和主内容区域水平排列 */
}

.main-content {
  flex: 1;
  overflow: hidden;
  display: flex;  /* 添加flex布局 */
  flex-direction: column;  /* 让内容垂直排列 */
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 拖拽区域 */
.drag-area {
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.drag-area:hover {
  border-color: #1890ff;
  background-color: #f0f8ff;
}

.drag-area.drag-over {
  border-color: #52c41a;
  background-color: #f6ffed;
}

/* 卡片样式 */
.card-hover {
  transition: all 0.3s;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 进度条动画 */
.progress-bar {
  transition: width 0.3s ease;
}

/* 平台图标 */
.platform-icon {
  font-size: 24px;
  margin-right: 8px;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .main-content {
    padding: 16px;
  }
}
